package com.demo2do.fms.admin.dto.supplier;

import com.demo2do.fms.entity.vehicle.source.VehicleSource;
import com.demo2do.fms.entity.vehicle.tractor.Tractor;
import com.demo2do.fms.entity.vehicle.trailer.Trailer;

/**
 *
 * @author Ark
 *
 */
public class VehicleInfo {

    /** 整车信息 */
    private VehicleSource source;
    
    /** 牵引车 */
    private Tractor tractor;
    
    /** 挂车 */
    private Trailer trailer;
    
    /** 车辆司机关联表 */
//    private VehicleDriverRelation relation;
    
    /**
     * The default construcor
     */
    public VehicleInfo() {
    }

    /**
     * @return the source
     */
    public VehicleSource getSource() {
        return source;
    }

    /**
     * @return the tractor
     */
    public Tractor getTractor() {
        return tractor;
    }

    /**
     * @return the trailer
     */
    public Trailer getTrailer() {
        return trailer;
    }
    
    /**
     * @return
     */
//    public VehicleDriverRelation getRelation() {
//        return relation;
//    }


    /**
     * @param source the source to set
     */
    public void setSource(VehicleSource source) {
        this.source = source;
    }

    /**
     * @param tractor the tractor to set
     */
    public void setTractor(Tractor tractor) {
        this.tractor = tractor;
    }

    /**
     * @param trailer the trailer to set
     */
    public void setTrailer(Trailer trailer) {
        this.trailer = trailer;
    }
    
    /**
     * @param relation
     */
//    public void setRelation(VehicleDriverRelation relation) {
//        this.relation = relation;
//    }

}
